package com.itheima.web;

import com.itheima.pojo.CheckItem;
import com.itheima.service.ReportService;
import com.itheima.support.Result;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/report")
public class ReportController {

    @DubboReference
    private ReportService reportService;


    @GetMapping("/selectSetmealRate")
    public Result<List<Map>> selectSetmealRate(){
        return Result.build(reportService.selectSetmealRate());
    }


}
